<html>
<head>
<meta content="HTML 4.0" name="vs_targetSchema">
<link rel="StyleSheet" type="text/css" href="richedit.css">
<link rel="StyleSheet" type="text/css" href="syntax.css">
<link rel="StyleSheet" type="text/css" href="custom.css">
<script language="JavaScript" src="rte_xhtml.js"></script>
<script language="JavaScript" src="rte_interface.js"></script>
<script language="JavaScript" src="rte_debug.js"></script>
<script language="JavaScript" src="rte.js"></script>
<script language="JavaScript" src="rte_codesweep.js"></script>
<script language="JavaScript" src="rte_editmode.js"></script>
<script language="JavaScript" src="rte_history.js"></script>
<SCRIPT language="JavaScript" src="tableEditor.js"></SCRIPT>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		var content = window.parent.document.all("CONTENT").value;
		content=content.replace(/&/g,"\"");
		$("#doc").append(content);
	});
</script>
<script language="JavaScript">
if (window.Event)
  document.captureEvents(Event.MOUSEUP);

function isControlSelected(tag){
	if (document.selection&&document.selection.type == "Control") {
		var oControlRange = document.selection.createRange();
		if (oControlRange(0).tagName.toUpperCase() == tag) {
			return true;
		}
	}
	return false;
}

function ControlSelectedType(){

	if (document.selection&&document.selection.type == "Control") {
	     var oControlRange = document.selection.createRange();
	     return oControlRange(0).type.toUpperCase();
	}
}

function ControlSelectedClass(){

	if (document.selection&&document.selection.type == "Control") {
	     var oControlRange = document.selection.createRange();
	     return oControlRange(0).className;
	}
}

function LoadModel()
{
  URL="/module/html_model/view?RTE=1";
  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
  loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
  window.showModalDialog(URL,self,"edge:raised;scroll:1;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}

// 菜单常量
var sMenu1="<TABLE class=Menu width=150 border=0 cellpadding=0 cellspacing=0>";
var sMenu2="</TABLE>";
var sMenuHr="<tr><td align=center valign=middle height=1 class=HrShadow></td></tr><tr><td align=center valign=middle height=1 class=HrHighLight></td></tr>";

// 菜单
var oPopupMenu = null;
oPopupMenu = window.createPopup();

// 取菜单行
function getMenuRow(s_Disabled, s_Event, s_Html) {
	var s_MenuRow = "";
	s_MenuRow = "<tr "+s_Disabled+"><td valign=middle height=20 class=RightBg onMouseOver=this.className='MouseOver'; onMouseOut=this.className='MouseOut';";
	if (s_Disabled=="")
	{
		s_MenuRow += " onclick=\"parent."+s_Event+";parent.oPopupMenu.hide();\"";
	}
	s_MenuRow += ">";

	if(s_Html=="复制")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_copy.gif>";
	else if(s_Html=="剪切")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_cut.gif>";
	else if(s_Html=="粘贴")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_paste.gif>";
	else if(s_Html=="删除")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_delete.gif>";
	else if(s_Html=="全选")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_select_all.gif>";
	else if(s_Html=="图片属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=images/icon_ins_image.gif>";
	else if(s_Html=="单选框属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/checkbox.gif>";
	else if(s_Html=="单行输入框属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/textfield.gif>";
	else if(s_Html=="多行输入框属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/textarea.gif>";
	else if(s_Html=="下拉菜单属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/listmenu.gif>";
	else if(s_Html=="日历控件属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/calendar.gif>";
	else if(s_Html=="宏控件属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/auto.gif>";
	else if(s_Html=="计算控件属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/calc.gif>";
	else if(s_Html=="列表控件属性...")
	   s_MenuRow +="<img border=0 width=20 height=20 align=absmiddle src=/images/form/listview.gif>";

	s_MenuRow += "&nbsp;"+s_Html+"</td></tr>";
	return s_MenuRow;

}

// 格式化编辑器中的内容，并执行
function format(what,opt) {
	if(!RichEditor.txtView) return;
	if (opt=="RemoveFormat") {
		what=opt;
		opt=null;
	}
	if (opt==null) document.execCommand(what);
	else document.execCommand(what,"",opt);
	reset();
}

// 取标准的format菜单行
function getFormatMenuRow(menu, html){
	var s_Disabled = "";
	if (!document.queryCommandEnabled(menu)){
		s_Disabled = "disabled";
	}
	var s_Event = "format('"+menu+"')";
	return getMenuRow(s_Disabled, s_Event,  html)
}

// 显示无模式对话框
function ShowDialog(url, width, height) {

	var arr = showModalDialog(url, window, "dialogWidth:" + width + "px;dialogHeight:" + height + "px;help:no;scroll:yes;resizable:1;status:no");
}

function showContextMenu(event)
{
	if (switchMode.checked) return false;

	var width = 150;
	var height = 0;
	var lefter = event.clientX;
	var topper = event.clientY;

	var oPopDocument = oPopupMenu.document;
	var oPopBody = oPopupMenu.document.body;

	var sMenu="";

	sMenu += getFormatMenuRow("cut", "剪切");
	sMenu += getFormatMenuRow("copy", "复制");
	sMenu += getFormatMenuRow("paste", "粘贴");
	sMenu += getFormatMenuRow("delete", "删除");
	sMenu += getFormatMenuRow("selectall", "全选");
	sMenu += sMenuHr;
	height += 100;

	if (isControlSelected("IMG"))
	{

		if(ControlSelectedClass()=="DATE")
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/calendar',320,80)", "日历控件属性...");
		else if(ControlSelectedClass()=="LIST_VIEW")
			 sMenu += getMenuRow("", "ShowDialog('__APP__/System/listview',320,293)", "列表控件属性...");
		else
		   sMenu += getMenuRow("", "insert('image')", "图片属性...");
		sMenu += sMenuHr;
		height += 22;
	}
	else if (isControlSelected("INPUT"))
	{
		if(ControlSelectedType()=="CHECKBOX")
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/checkbox',320,112)", "单选框属性...");
		else if(ControlSelectedClass()=="AUTO")
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/auto',360,210)", "宏控件属性...");
		else if(ControlSelectedClass()=="CALC")
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/calc',320,172)", "计算控件属性...");
		else
       sMenu += getMenuRow("", "ShowDialog('__APP__/System/textfield',320,140)", "单行输入框属性...");

		sMenu += sMenuHr;
		height += 22;
	}
	else if (isControlSelected("TEXTAREA"))
	{
		sMenu += getMenuRow("", "ShowDialog('__APP__/System/textarea',320,140)", "多行输入框属性...");
		sMenu += sMenuHr;
		height += 22;
	}
	else if (isControlSelected("SELECT"))
	{
		if(ControlSelectedClass()!="AUTO")
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/listmenu',320,293)", "下拉菜单属性...");
		else
		   sMenu += getMenuRow("", "ShowDialog('__APP__/System/auto',320,210)", "宏控件属性...");
		sMenu += sMenuHr;
		height += 22;
	}

	sMenu = sMenu1 + sMenu + sMenu2;

	oPopDocument.open();
	oPopDocument.write("<head><link href=\"MenuArea.css\" type=\"text/css\" rel=\"stylesheet\"></head><body scroll=\"no\" onConTextMenu=\"event.returnValue=false;\">"+sMenu);
	oPopDocument.close();

	height+=2;
	if(lefter+width > document.body.clientWidth) lefter=lefter-width;

	oPopupMenu.show(lefter, topper, width, height, document.body);
	return false;
}

document.oncontextmenu=new Function("return showContextMenu(event);");

// This defines the scriptlets public interface.  See rte_interface.js for
// the actual interface definition.
var public_description =  new RichEditor();
// Initialise the editor as soon as the window is loaded.
window.attachEvent("onload", initEditor);
// Initialise the tEdit var
var tEdit = null;
</script>
<script type="text/javaScript" src="rte_lang.js"></script>
</head>
<body leftMargin="0" topMargin="0" scroll="no" unselectable="on"
	onload="tEdit = new tableEditor('doc', 'textedit');"
	onMouseMove="if (tEdit) { tEdit.changePos(); tEdit.resizeCell() }" >

<!-- Loading Layer ----------------------------------->
<div id="loading" style="position: absolute; top: 0px; left: 0px; height: 100%; z-index: 2">
	<table width="100%" height="100%">
		<tr>
			<td align="center" valign="middle">
				<font size="+3">超文本编辑器需要 IE 6.0以上版本<br><br>载入中，请稍候……</font>
			</td>
		</tr>
		
	</table>
</div>

<!-- Editor Layer -------------------------------------->
<table id="editor" unselectable="on" height="100%" cellspacing="0" cellpadding="0" width="100%" bgcolor="buttonface" border="0">
  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
    <td class="rebar"><nobr><span class="toolbar">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>
		<img id="btnCut"	onclick="doStyle('Cut')" alt="@{Cut}" src="images/icon_cut.gif" align="absMiddle" width="20" height="20">
		<img id="btnCopy"	onclick="doStyle('Copy')" alt="@{Copy}" src="images/icon_copy.gif" align="absMiddle" width="20" height="20">
		<img id="btnPaste"	onclick="doStyle('Paste')" alt="@{Paste}" src="images/icon_paste.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnSelect" onclick="doStyle('SelectAll')" alt="@{SelectAll}" src="images/icon_select_all.gif" align="absMiddle" width="20" height="20">
		<img id="btnRemove" onclick="doStyle('RemoveFormat')" alt="@{RemoveFormatting}" src="images/icon_rem_formatting.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnLink"   onclick="link(true)" alt="@{InsertLink}" src="images/icon_ins_link.gif" align="absMiddle" width="20" height="20">
		<img id="btnRemLink" onclick="link(false)" alt="@{RemoveLink}" src="images/icon_rem_link.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnImage"  onclick="insert('image')" alt="@{InsertImage}" src="images/icon_ins_image.gif" align="absMiddle" width="20" height="20">
		<img id="btnTable"  onclick="insert('table')" alt="@{InsertTable}" src="images/icon_ins_table.gif" align="absMiddle" width="20" height="20">
		<img id="btnTable"  onclick="document.getElementById('tblCtrl').style.visibility = 'visible';" alt="@{EditTable}" src="images/icon_edt_table.gif" align="absMiddle" width="20" height="20">
		<img id="btnRule"   onclick="doStyle('InsertHorizontalRule')" alt="@{InsertLine}" src="images/icon_rule.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnText"  onclick="pickColor('ForeColor')" alt="@{TextColor}" src="images/icon_color_text.gif" align="absMiddle" width="36" height="20">
		<img id="btnFill"  onclick="pickColor('BackColor')" alt="@{BackgroundColor}" src="images/icon_color_fill.gif" align="absMiddle" width="36" height="20">
		<object id="color" data="/module/rte/colorchooser.html" type="text/x-scriptlet" VIEWASTEXT></object>
		<script for="color" event="onscriptletevent(name, data)">
	setColor(name, data);
	
</script>
		
		<img id="btnModel"  onclick="LoadModel()" alt="模版" src="images/model.gif" align="absMiddle" width="40" height="20">
		<img id="btnAbout"  onclick="insert('about')" alt="@{About}" src="images/icon_about.gif" align="absMiddle" width="16" height="16">
    </span></nobr></td></tr>
  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
    <td class="rebar"><nobr><span class="toolbar">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>
		<img id="btnBold"     onclick="doStyle('bold')" alt="@{Bold}" src="images/icon_bold.gif" align="absMiddle" width="20" height="20">
		<img id="btnItalic"   onclick="doStyle('italic')" alt="@{Italic}" src="images/icon_italic.gif" align="absMiddle" width="20" height="20">
		<img id="btnUnderline"  onclick="doStyle('underline')" alt="@{Underline}" src="images/icon_underline.gif" align="absMiddle" width="20" height="20">
		<img id="btnStrikethrough"  onclick="doStyle('strikethrough')" alt="@{Strikethrough}" src="images/icon_strikethrough.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnLeftJustify"  onclick="doStyle('JustifyLeft')" alt="@{AlignLeft}" src="images/icon_left.gif" align="absMiddle" width="20" height="20">
		<img id="btnCenter"   onclick="doStyle('JustifyCenter')" alt="@{Center}" src="images/icon_center.gif" align="absMiddle" width="20" height="20">
		<img id="btnRightJustify"  onclick="doStyle('JustifyRight')" alt="@{AlignRight}" src="images/icon_right.gif" align="absMiddle" width="20" height="20">
		<img id="btnFullJustify" onclick="doStyle('JustifyFull')" alt="@{AlignBlock}" src="images/icon_block.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnNumList"  onclick="doStyle('InsertOrderedList')" alt="@{NumberedList}" src="images/icon_numlist.gif" align="absMiddle" width="20" height="20">
		<img id="btnBulList"  onclick="doStyle('InsertUnorderedList')" alt="@{BulettedList}" src="images/icon_bullist.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnOutdent"  onmousedown="doStyle('Outdent')" alt="@{DecreaseIndent}" src="images/icon_outdent.gif" align="absMiddle" width="20" height="20">
		<img id="btnIndent"   onmousedown="doStyle('Indent')" alt="@{IncreaseIndent}" src="images/icon_indent.gif" align="absMiddle" width="20" height="20">
		<span id="featureHistory">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>
		<img id="btnPrev" onmousedown="document.execCommand('Undo')" alt="@{HistoryBack}"    src="images/icon_undo.gif" align="absMiddle" width="20" height="20">
		<img id="btnNext" onmousedown="document.execCommand('Redo')"  alt="@{HistoryForward}" src="images/icon_redo.gif" align="absMiddle" width="20" height="20">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="sep"></span>&nbsp;
		<span class="label"><label for="switchMode">@{Source}</label></span>
		<input title="@{SourceTitle}" class="checkbox" hidefocus type="checkbox" name="switchMode" id="switchMode"
				onclick="tEdit.stopCellResize(true); tEdit.unSetTableElements(); setEditMode(switchMode)">
		</span>
		</span></nobr></td></tr>
	<tr id="featureStyleBar" ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
    <td class="rebar"><nobr><span class="toolbar">
		<img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>&nbsp;
		<span id="featureStyle">
			<span class="label">样式</span>
			<select name="" id="ctlStyle" class="button" onchange="addTag(this)">
			</select>
			<span class="sep"></span>
		</span>
		<span id="featureFont">
			<span class="label">字体</span>
			<select hidefocus class="fontselect" id="ctlFont"  onchange="sel(this)">
				<option id="宋体" value="宋体" selected>宋体</option>
				<option id="方正舒体" value="方正舒体">方正舒体</option>
				<option id="方正姚体" value="方正姚体">方正姚体</option>
				<option id="仿宋_GB2312" value="仿宋_GB2312">仿宋_GB2312</option>
				<option id="黑体" value="黑体">黑体</option>
				<option id="华文彩云" value="华文彩云">华文彩云</option>
				<option id="华文仿宋" value="华文仿宋">华文仿宋</option>
				<option id="华文细黑" value="华文细黑">华文细黑</option>
				<option id="华文新魏" value="华文新魏">华文新魏</option>
				<option id="华文行楷" value="华文行楷">华文行楷</option>
				<option id="华文中宋" value="华文中宋">华文中宋</option>
				<option id="楷体_GB2312" value="楷体_GB2312">楷体_GB2312</option>
				<option id="隶书" value="隶书">隶书</option>
				<option id="仿宋体" value="仿宋体">仿宋体</option>
				<option id="幼圆" value="幼圆">幼圆</option>
				<option id="Arial" value="Arial">Arial</option>
				<option id="Arial black" value="Arial black">Arial black</option>
				<option id="Arial narrow" value="Arial narrow">Arial narrow</option>
				<option id="Fixedsys" value="Fixedsys">Fixedsys</option>
				<option id="Times New Roman" value="Times New Roman">Times New Roman</option>
				<option id="Courier New" value="Courier New">Courier New</option>
				<option id="Georgia" value="Georgia">Georgia</option>
				<option id="Verdana" value="Verdana">Verdana</option>
				<option id="Geneva" value="Geneva">Geneva</option>
			</select>
		</span>
		<span id="featureFontSize">
			<span class="sep"></span>
			<span class="label">字号</span>
			<select hidefocus class="button" id="ctlSize"  onchange="sel(this)">
				<option selected></option>
				<option value="1">1 (8 磅)</option>
				<option value="2">2 (10 磅)</option>
				<option value="3">3 (12 磅)</option>
				<option value="4">4 (14 磅)</option>
				<option value="5">5 (18 磅)</option>
				<option value="6">6 (24 磅)</option>
				<option value="7">7 (36 磅)</option>
			</select>
		</span>
	</span></nobr></td>
</tr>
<!-- Fields are inserted here -->
<tr id="rebarBottom">
    <td class="spacer" height="2"><img height="1" src="images/spacer.gif" align="left"></td></tr>
  <tr>
    <td class="textedit" id="textedit" valign="top" height="100%">
		<div class="document" id="doc" onkeyup="reset(); markSelectedElement(); tEdit.setTableElements(); tEdit.repositionArrows();" contenteditable="false" style="OVERFLOW: auto; WIDTH: 100%; HEIGHT: 100%" onclick="reset(); markSelectedElement()"  onmouseup="markSelectedElement(); tEdit.setTableElements(); tEdit.stopCellResize(false);" onscroll="tEdit.repositionArrows()" height="100%" width="100%">
	 	
	  </div>
	</td></tr>
</table>
<input type="hidden" value="" name="IMG_ATTACHMENT_ID">
<input type="hidden" value="" name="IMG_ATTACHMENT_NAME">

<!-- Table Editing Layer ----------------------------------->
<div id="tblCtrl" style="position:absolute; visibility:hidden; left:200; top:200; z-index: 5">
<table border="0" cellpadding="0" cellspacing="0" width="68" bgcolor="buttonface">
  <tr ondragstart="handleDrag(0)">
   <td><img src="images/spacer.gif" width="8" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="18" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="22" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="4" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="9" height="1" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="2" onClick="document.getElementById('tblCtrl').style.visibility = 'hidden';"><img name="CloseWindow" src="images/CloseWindow.gif" width="13" height="16" border="0"></td>
   <td colspan="3" onmousedown="tEdit.setDrag( document.getElementById('tblCtrl') )" onmouseup="tEdit.setDrag( document.getElementById('tblCtrl') )"><img name="toolbar" src="images/toolbar.gif" width="42" height="16" border="0"></td>
   <td colspan="2"><img name="minimize" src="images/minimize.gif" width="13" height="16" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
  </tr>
  <tr ondragstart="handleDrag(0)">
	  <td colspan="7"><img name="hdr_tables" src="images/hdr_tables.gif" width="68" height="15" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="15" border="0"></td>
  </tr>
  <tr ondragstart="handleDrag(0)">
   <td colspan="7"><img name="plt_hdr" src="images/plt_hdr.gif" width="68" height="9" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="9" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
   <td rowspan="8"><img class="spacer" name="Editor_r4_c1" src="images/Editor_r4_c1.gif" width="8" height="112" border="0"></td>
   <td colspan="2" class="tbl"><img name="rmv_colspan"  onclick="tEdit.splitCell();" src="images/rmv_colspan.gif" width="21" height="24" alt="@{RemoveColspan}"></td>
   <td rowspan="8"><img class="spacer" name="Editor_r4_c4" src="images/Editor_r4_c4.gif" width="2" height="112" border="0"></td>
   <td colspan="2" class="tbl"><img name="rmv_rowspan"  onclick="tEdit.unMergeDown();" src="images/rmv_rowspan.gif" width="24" height="24" alt="@{RemoveRowspan}"></td>
   <td rowspan="8"><img class="spacer" name="Editor_r4_c7" src="images/Editor_r4_c7.gif" width="9" height="112" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="26" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="2"><img class="spacer" name="Editor_r5_c2" src="images/Editor_r5_c2.gif" width="23" height="2" border="0"></td>
   <td colspan="2"><img class="spacer" name="Editor_r5_c5" src="images/Editor_r5_c5.gif" width="26" height="2" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="2" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
	  <td colspan="2" class="tbl"><img name="incr_colspan"  onclick="tEdit.mergeRight();" src="images/incr_colspan.gif" width="21" height="24" alt="@{IncreaseColspan}"  border="0"></td>
	  <td colspan="2" class="tbl"><img name="incr_rowspan" onclick="tEdit.mergeDown();" src="images/incr_rowspan.gif" width="24" height="24" alt="@{IncreaseRowspan}"  border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="26" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="2"><img class="spacer"  name="Editor_r7_c2" src="images/Editor_r7_c2.gif" width="23" height="2" border="0"></td>
   <td colspan="2"><img class="spacer" name="Editor_r7_c5" src="images/Editor_r7_c5.gif" width="26" height="2" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="2" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
	  <td colspan="2" class="tbl"><img name="add_col" onclick="tEdit.processColumn('add');"  src="images/add_col.gif" width="21" height="22" alt="@{AddColumn}" border="0" ></td>
	  <td colspan="2" class="tbl"><img name="add_row"  onclick="tEdit.processRow('add');" src="images/add_row.gif" width="24" height="22" alt="@{AddRow}" border="0" ></td>
   <td><img src="images/spacer.gif" width="1" height="24" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="2"><img class="spacer" name="Editor_r9_c2" src="images/Editor_r9_c2.gif" width="23" height="4" border="0"></td>
   <td colspan="2"><img class="spacer" name="Editor_r9_c5" src="images/Editor_r9_c5.gif" width="26" height="4" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="4" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">
	  <td colspan="2" class="tbl"><img name="rmv_col" onclick="tEdit.processColumn('remove');" src="images/rmv_col.gif" width="21" height="22" alt="@{RemoveColumn}" border="0" ></td>
	  <td colspan="2" class="tbl"><img name="rmv_row" onclick="tEdit.processRow('remove');" src="images/rmv_row.gif" width="24" height="22" alt="@{RemoveRow}" border="0" ></td>
   <td><img src="images/spacer.gif" width="1" height="24" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="2"><img name="Editor_r11_c2" src="images/Editor_r11_c2.gif" width="23" height="4" border="0"></td>
   <td colspan="2"><img name="Editor_r11_c5" src="images/Editor_r11_c5.gif" width="26" height="4" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="4" border="0"></td>
  </tr>

  <tr ondragstart="handleDrag(0)">
   <td colspan="7"><img name="plt_ftr" src="images/plt_ftr.gif" width="68" height="8" border="0"></td>
   <td><img class="spacer" src="images/spacer.gif" width="1" height="8" border="0"></td>
  </tr>
  
</table>
</div>

</body>
</html>